﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace SchoolManagerMVC.Repository.EntityFramework
{
    [MetadataType(typeof(DepartmentMeta))]
    public partial class Department
    {
    }

    public class DepartmentMeta
    {
        [Required]
        public string Name { get; set; }

        
        [Required, Display(Name="Department Head")]
        public int? DepartmentHead { get; set; }
    
    }
}
